﻿using RAP.Framework.Libary.DomTemplateBuilder.Element.Conditional;
using System.ComponentModel;
using RAP.Framework.Libary.DomTemplateBuilder.Attributes;
using RAP.Framework.Libary.DomTemplateBuilder.Handler.IterateItem;

namespace RAP.Framework.Libary.DomTemplateBuilder.Element.Collection.IterateItem
{
	/// <summary>
	/// 是否是循环的最后一个对象
	/// </summary>
	[Description ( "判断是否是循环的最后一个对象" )]
    [TagHandler( "Iterate.IsLast", typeof( IsLastItemHandler ) )]
    public class IsLastItem : ConditionalBase
    {
        public new Iterate Parent
        {
            get
            {
                return base.Parent as Iterate;
            }
        }
    }
}
